#ifndef __CE_ASSET_READER_ASSETREADERSCENENODE_H__
#define __CE_ASSET_READER_ASSETREADERSCENENODE_H__


#include <asset/assetreader.h>

class ceNode;
class cffNode;
class ceAssetReaderSceneNode : public iAssetReader
{
	CE_OBJECT
private:

	cffNode* FindNode (cffNode* parent, const char* name);

	ceNode* ReadNode (ceEngine* engine, cffNode* node);

public:
	ceAssetReaderSceneNode ();

	bool CanRead(ceEngine *engine, ceAssetTypeID type, const ceAssetLocator &locator);
	ceRef<ceAsset> Read(ceEngine *engine, ceAssetTypeID type, const ceAssetLocator &locator);
};

#endif /* ! __CE_ASSET_READER_ASSETREADERSCENENODE_H__ */

